//
//  NewCityGoodsListVC.swift
//  XiaoJingMallSwift
//
//  Created by beisheng03 on 2017/9/13.
//  Copyright © 2017年 beisheng. All rights reserved.
//

import UIKit

class NewCityGoodsListVC: BaseMenuController {

    override func viewDidLoad() {
        super.viewDidLoad()
        navigationItem.title = "一键购买"
        
        view.backgroundColor = UIColor.white
        
        titleScrollView.backgroundColor = UIColor.colorWithA(r: 255, g: 255, b: 255, A: 0.5)
        
        
        setupAllChildViewController()

        // Do any additional setup after loading the view.
    }

    override func didReceiveMemoryWarning() {
        super.didReceiveMemoryWarning()
        // Dispose of any resources that can be recreated.
    }
    
    
    func setupAllChildViewController() {
        /*
         襄阳出行
         社区通告
         在线报修
         车位房屋出租
         建议、表扬、投诉
         意见反馈
         外卖
         */
    
        let tempVC0 = NewCitySubGoodsListVC()
        tempVC0.title = "水"
        addChildViewController(tempVC0)
        
        let tempVC1 = NewCitySubGoodsListVC()
        tempVC1.title = "白酒"
        addChildViewController(tempVC1)
        
        let tempVC2 = NewCitySubGoodsListVC()
        tempVC2.title = "啤酒"
        addChildViewController(tempVC2)
        
        let tempVC3 = NewCitySubGoodsListVC()
        tempVC3.title = "葡萄酒"
        addChildViewController(tempVC3)
        
        let tempVC4 = NewCitySubGoodsListVC()
        tempVC4.title = "洋酒"
        addChildViewController(tempVC4)
        
        let tempVC5 = NewCitySubGoodsListVC()
        tempVC5.title = "黄酒"
        addChildViewController(tempVC5)
        
        let tempVC6 = NewCitySubGoodsListVC()
        tempVC6.title = "饮料"
        addChildViewController(tempVC6)
        
        
    }
    

   
}
